#ifndef _ADC_WAVE_H
#define _ADC_WAVE_H

#include "my_sys.h"
#include "vofa_communication.h"

#include "main.h"
#include "tim.h"
#include "adc.h"

// #include "math.h"

// #include "stm32_dsp.h"

// void FFT_Test(void);

void ADC_SampleInit(void);
void SetDMA_Flag(void);
uint16_t GetCaoshengbo_Freq(void);
void GetVoltageBuffer(float* pReceiveBuf, uint16_t Num);

void ADC_TestLoop(uint16_t cycle);

#endif


